package com.bdqn.desiremall.mapper;

import java.util.List;

import com.bdqn.desiremall.entity.Mall_ShippingAddress;

public interface Mall_ShippingAddressMapper {
    /**
     * ��ѯ�ջ���ַ
     * @param userId
     * @return
     */
	List<Mall_ShippingAddress> findAddress(int userId);
	
	/**
	 * ����ջ���ַ
	 * @param shippingAddress
	 * @return
	 */
	int addAddress(Mall_ShippingAddress shippingAddress);
	
	/**
	 * �޸��ջ���ַ
	 * @param userId
	 * @return
	 */
	int modifyAddress(Mall_ShippingAddress shippingAddress);
	
	/**
	 * ɾ���ջ���ַ
	 * @param userId
	 * @return
	 */
	int removeAddress(int addressId);
}